// src/main/java/org/zachary/creditbusiness/hotel/service/HotelService.java
package org.zachary.creditbusiness.hotel.service;

import com.baomidou.mybatisplus.extension.service.IService;
import org.zachary.creditbusiness.hotel.controller.dto.HotelFilterCriteria;
import org.zachary.creditbusiness.hotel.entity.Hotel;

import java.util.List;

public interface HotelService extends IService<Hotel> {

    /** 按筛选条件查询酒店（无分页，由前端滚动或分页） */
    List<Hotel> filterHotels(HotelFilterCriteria criteria);

    /** 按名称精确匹配查询酒店，名称为空时返回全部 */
    List<Hotel> findHotelsByName(String name);
}